package uk.org.fuzelogik.eldaw.wicket.component;

import org.apache.wicket.WicketRuntimeException;


/**
 * Thrown if an authentication-strategy-specific component is used, but the
 * <code>Application</code> instance doesn't implement the appropriate
 * interface.
 * 
 * @author cgdavies
 */
public class IncompatibleApplicationException extends WicketRuntimeException
{
	public IncompatibleApplicationException( Class expected )
	{
		super( "Your Application subclass must implement " + expected.getName() );
	}
}
